//
//  FreeMarketCell.h
//  umbs
//
//  Created by 冷山 on 16/6/15.
//  Copyright © 2016年 冷山. All rights reserved.
//

#import <UIKit/UIKit.h>

static NSString * const FreeMarketCellIdentifier = @"FreeMarketCellIdentifier";

@protocol FreeMarketCellDelegate <NSObject>

- (void)buyNowAction:(UIButton*)button;

@end

@interface FreeMarketCell : UITableViewCell

@property (assign, nonatomic) id<FreeMarketCellDelegate>delegate;
///头像
@property (weak, nonatomic) IBOutlet UIImageView *ui_imageView;
///名称
@property (weak, nonatomic) IBOutlet UILabel *ui_name;
///类型
@property (weak, nonatomic) IBOutlet UILabel *ui_type;
///运营商
@property (weak, nonatomic) IBOutlet UILabel *ui_operator;
///折扣label
@property (weak, nonatomic) IBOutlet UILabel *ui_discountLabel;
///金额label
@property (weak, nonatomic) IBOutlet UILabel *ui_priceLabel;
///折扣
@property (weak, nonatomic) IBOutlet UILabel *ui_discount;
///金额
@property (weak, nonatomic) IBOutlet UILabel *ui_price;
///数量
@property (weak, nonatomic) IBOutlet UILabel *ui_number;
///有效日期
@property (weak, nonatomic) IBOutlet UILabel *ui_date;
///购买
@property (weak, nonatomic) IBOutlet UIButton *ui_buyButton;
///积分
@property (weak, nonatomic) IBOutlet UILabel *ui_integral;
///起始金额
@property (weak, nonatomic) IBOutlet UILabel *ui_initialAmount;
@end
